# | abc | abc | y | $& | abc
|
---|
1 | abc | xbc | n | - | - |
2 | abc | axc | n | - | - |
3 | abc | abx | n | - | - |
4 | abc | xabcy | y | $& | abc |
5 | abc | ababc | y | $& | abc |
6 | ab*c | abc | y | $& | abc |
7 | ab*bc | abc | y | $& | abc |
8 | ab*bc | abbc | y | $& | abbc |
9 | ab*bc | abbbbc | y | $& | abbbbc |
10 | ab{0 | }bc | abbbbc | y | $& | abbbbc |
11 | ab+bc | abbc | y | $& | abbc |
12 | ab+bc | abc | n | - | - |
13 | ab+bc | abq | n | - | - |
14 | ab{1 | }bc | abq | n | - | - |
15 | ab+bc | abbbbc | y | $& | abbbbc |
16 | ab{1 | }bc | abbbbc | y | $& | abbbbc |
17 | ab{1 | 3}bc | abbbbc | y | $& | abbbbc |
18 | ab{3 | 4}bc | abbbbc | y | $& | abbbbc |
19 | ab{4 | 5}bc | abbbbc | n | - | - |
20 | ab?bc | abbc | y | $& | abbc |
21 | ab?bc | abc | y | $& | abc |
22 | ab{0 | 1}bc | abc | y | $& | abc |
23 | ab?bc | abbbbc | n | - | - |
24 | ab?c | abc | y | $& | abc |
25 | ab{0 | 1}c | abc | y | $& | abc |
26 | ^abc$ | abc | y | $& | abc |
27 | ^abc$ | abcc | n | - | - |
28 | ^abc | abcc | y | $& | abc |
29 | ^abc$ | aabc | n | - | - |
30 | abc$ | aabc | y | $& | abc |
31 | ^ | abc | y | $& | |
32 | $ | abc | y | $& | |
33 | a.c | abc | y | $& | abc |
34 | a.c | axc | y | $& | axc |
35 | a.*c | axyzc | y | $& | axyzc |
36 | a.*c | axyzd | n | - | - |
37 | a[bc]d | abc | n | - | - |
38 | a[bc]d | abd | y | $& | abd |
39 | a[b-d]e | abd | n | - | - |
40 | a[b-d]e | ace | y | $& | ace |
41 | a[b-d] | aac | y | $& | ac |
42 | a[-b] | a- | y | $& | a- |
43 | a[b-] | a- | y | $& | a- |
44 | a[b-a] | - | c | - | - |
45 | a[]b | - | c | - | - |
46 | a[ | - | c | - | - |
47 | a] | a] | y | $& | a] |
48 | a[]]b | a]b | y | $& | a]b |
49 | a[^bc]d | aed | y | $& | aed |
50 | a[^bc]d | abd | n | - | - |
51 | a[^-b]c | adc | y | $& | adc |
52 | a[^-b]c | a-c | n | - | - |
53 | a[^]b]c | a]c | n | - | - |
54 | a[^]b]c | adc | y | $& | adc |
55 | ab|cd | abc | y | $& | ab |
56 | ab|cd | abcd | y | $& | ab |
57 | ()ef | def | y | $&-$1 | ef- |
58 | ()* | - | c | - | - |
59 | *a | - | c | - | - |
60 | ^* | - | c | - | - |
61 | $* | - | c | - | - |
62 | (*)b | - | c | - | - |
63 | $b | b | n | - | - |
64 | a\ | - | c | - | - |
65 | a\(b | a(b | y | $&-$1 | a(b- |
66 | a\(*b | ab | y | $& | ab |
67 | a\(*b | a((b | y | $& | a((b |
68 | a\\b | a\b | y | $& | a\b |
69 | abc) | - | c | - | - |
70 | (abc | - | c | - | - |
71 | ((a)) | abc | y | $&-$1-$2 | a-a-a |
72 | (a)b(c) | abc | y | $&-$1-$2 | abc-a-c |
73 | a+b+c | aabbabc | y | $& | abc |
74 | a{1 | }b{1 | }c | aabbabc | y | $& | abc |
75 | a** | - | c | - | - |
76 | a*? | - | c | - | - |
77 | (a*)* | - | c | - | - |
78 | (a*)+ | - | c | - | - |
79 | (a|)* | - | c | - | - |
80 | (a*|b)* | - | c | - | - |
81 | (a+|b)* | ab | y | $&-$1 | ab-b |
82 | (a+|b){0 | } | ab | y | $&-$1 | ab-b |
83 | (a+|b)+ | ab | y | $&-$1 | ab-b |
84 | (a+|b){1 | } | ab | y | $&-$1 | ab-b |
85 | (a+|b)? | ab | y | $&-$1 | a-a |
86 | (a+|b){0 | 1} | ab | y | $&-$1 | a-a |
87 | (^)* | - | c | - | - |
88 | (ab|)* | - | c | - | - |
89 | )( | - | c | - | - |
90 | [^ab]* | cde | y | $& | cde |
91 | abc | | n | - | - |
92 | a* | | y | $& | |
93 | ([abc])*d | abbbcd | y | $&-$1 | abbbcd-c |
94 | ([abc])*bcd | abcd | y | $&-$1 | abcd-a |
95 | a|b|c|d|e | e | y | $& | e |
96 | (a|b|c|d|e)f | ef | y | $&-$1 | ef-e |
97 | ((a*|b))* | - | c | - | - |
98 | abcd*efg | abcdefg | y | $& | abcdefg |
99 | ab* | xabyabbbz | y | $& | ab |
100 | ab* | xayabbbz | y | $& | a |
101 | (ab|cd)e | abcde | y | $&-$1 | cde-cd |
102 | [abhgefdc]ij | hij | y | $& | hij |
103 | ^(ab|cd)e | abcde | n | x$1y | xy |
104 | (abc|)ef | abcdef | y | $&-$1 | ef- |
105 | (a|b)c*d | abcd | y | $&-$1 | bcd-b |
106 | (ab|ab*)bc | abc | y | $&-$1 | abc-a |
107 | a([bc]*)c* | abc | y | $&-$1 | abc-bc |
108 | a([bc]*)(c*d) | abcd | y | $&-$1-$2 | abcd-bc-d |
109 | a([bc]+)(c*d) | abcd | y | $&-$1-$2 | abcd-bc-d |
110 | a([bc]*)(c+d) | abcd | y | $&-$1-$2 | abcd-b-cd |
111 | a[bcd]*dcdcde | adcdcde | y | $& | adcdcde |
112 | a[bcd]+dcdcde | adcdcde | n | - | - |
113 | (ab|a)b*c | abc | y | $&-$1 | abc-ab |
114 | ((a)(b)c)(d) | abcd | y | $1-$2-$3-$4 | abc-a-b-d |
115 | [a-zA-Z_][a-zA-Z0-9_]* | alpha | y | $& | alpha |
116 | ^a(bc+|b[eh])g|.h$ | abh | y | $&-$1 | bh- |
117 | (bc+d$|ef*g.|h?i(j|k)) | effgz | y | $&-$1-$2 | effgz-effgz- |
118 | (bc+d$|ef*g.|h?i(j|k)) | ij | y | $&-$1-$2 | ij-ij-j |
119 | (bc+d$|ef*g.|h?i(j|k)) | effg | n | - | - |
120 | (bc+d$|ef*g.|h?i(j|k)) | bcdd | n | - | - |
121 | (bc+d$|ef*g.|h?i(j|k)) | reffgz | y | $&-$1-$2 | effgz-effgz- |
122 | ((((((((((a)))))))))) | a | y | $10 | a |
123 | ((((((((((a))))))))))\10 | aa | y | $& | aa |
124 | ((((((((((a))))))))))\41 | aa | n | - | - |
125 | ((((((((((a))))))))))\41 | a! | y | $& | a! |
126 | (((((((((a))))))))) | a | y | $& | a |
127 | multiple words of text | uh-uh | n | - | - |
128 | multiple words | multiple words | yeah | y | $& | multiple words |
129 | (.*)c(.*) | abcde | y | $&-$1-$2 | abcde-ab-de |
130 | \((.*) | (.*)\) | (a | b) | y | ($2 | $1) | (b | a) |
131 | [k] | ab | n | - | - |
132 | abcd | abcd | y | $&-\$&-\\$& | abcd-$&-\abcd |
133 | a(bc)d | abcd | y | $1-\$1-\\$1 | bc-$1-\bc |
134 | a[-]?c | ac | y | $& | ac |
135 | (abc)\1 | abcabc | y | $1 | abc |
136 | ([a-c]*)\1 | abcabc | y | $1 | abc |
137 | 'abc'i | ABC | y | $& | ABC |
138 | 'abc'i | XBC | n | - | - |
139 | 'abc'i | AXC | n | - | - |
140 | 'abc'i | ABX | n | - | - |
141 | 'abc'i | XABCY | y | $& | ABC |
142 | 'abc'i | ABABC | y | $& | ABC |
143 | 'ab*c'i | ABC | y | $& | ABC |
144 | 'ab*bc'i | ABC | y | $& | ABC |
145 | 'ab*bc'i | ABBC | y | $& | ABBC |
146 | 'ab*bc'i | ABBBBC | y | $& | ABBBBC |
147 | 'ab{0 | }bc'i | ABBBBC | y | $& | ABBBBC |
148 | 'ab+bc'i | ABBC | y | $& | ABBC |
149 | 'ab+bc'i | ABC | n | - | - |
150 | 'ab+bc'i | ABQ | n | - | - |
151 | 'ab{1 | }bc'i | ABQ | n | - | - |
152 | 'ab+bc'i | ABBBBC | y | $& | ABBBBC |
153 | 'ab{1 | }bc'i | ABBBBC | y | $& | ABBBBC |
154 | 'ab{1 | 3}bc'i | ABBBBC | y | $& | ABBBBC |
155 | 'ab{3 | 4}bc'i | ABBBBC | y | $& | ABBBBC |
156 | 'ab{4 | 5}bc'i | ABBBBC | n | - | - |
157 | 'ab?bc'i | ABBC | y | $& | ABBC |
158 | 'ab?bc'i | ABC | y | $& | ABC |
159 | 'ab{0 | 1}bc'i | ABC | y | $& | ABC |
160 | 'ab?bc'i | ABBBBC | n | - | - |
161 | 'ab?c'i | ABC | y | $& | ABC |
162 | 'ab{0 | 1}c'i | ABC | y | $& | ABC |
163 | '^abc$'i | ABC | y | $& | ABC |
164 | '^abc$'i | ABCC | n | - | - |
165 | '^abc'i | ABCC | y | $& | ABC |
166 | '^abc$'i | AABC | n | - | - |
167 | 'abc$'i | AABC | y | $& | ABC |
168 | '^'i | ABC | y | $& | |
169 | '$'i | ABC | y | $& | |
170 | 'a.c'i | ABC | y | $& | ABC |
171 | 'a.c'i | AXC | y | $& | AXC |
172 | 'a.*c'i | AXYZC | y | $& | AXYZC |
173 | 'a.*c'i | AXYZD | n | - | - |
174 | 'a[bc]d'i | ABC | n | - | - |
175 | 'a[bc]d'i | ABD | y | $& | ABD |
176 | 'a[b-d]e'i | ABD | n | - | - |
177 | 'a[b-d]e'i | ACE | y | $& | ACE |
178 | 'a[b-d]'i | AAC | y | $& | AC |
179 | 'a[-b]'i | A- | y | $& | A- |
180 | 'a[b-]'i | A- | y | $& | A- |
181 | 'a[b-a]'i | - | c | - | - |
182 | 'a[]b'i | - | c | - | - |
183 | 'a['i | - | c | - | - |
184 | 'a]'i | A] | y | $& | A] |
185 | 'a[]]b'i | A]B | y | $& | A]B |
186 | 'a[^bc]d'i | AED | y | $& | AED |
187 | 'a[^bc]d'i | ABD | n | - | - |
188 | 'a[^-b]c'i | ADC | y | $& | ADC |
189 | 'a[^-b]c'i | A-C | n | - | - |
190 | 'a[^]b]c'i | A]C | n | - | - |
191 | 'a[^]b]c'i | ADC | y | $& | ADC |
192 | 'ab|cd'i | ABC | y | $& | AB |
193 | 'ab|cd'i | ABCD | y | $& | AB |
194 | '()ef'i | DEF | y | $&-$1 | EF- |
195 | '()*'i | - | c | - | - |
196 | '*a'i | - | c | - | - |
197 | '^*'i | - | c | - | - |
198 | '$*'i | - | c | - | - |
199 | '(*)b'i | - | c | - | - |
200 | '$b'i | B | n | - | - |
201 | 'a\'i | - | c | - | - |
202 | 'a\(b'i | A(B | y | $&-$1 | A(B- |
203 | 'a\(*b'i | AB | y | $& | AB |
204 | 'a\(*b'i | A((B | y | $& | A((B |
205 | 'a\\b'i | A\B | y | $& | A\B |
206 | 'abc)'i | - | c | - | - |
207 | '(abc'i | - | c | - | - |
208 | '((a))'i | ABC | y | $&-$1-$2 | A-A-A |
209 | '(a)b(c)'i | ABC | y | $&-$1-$2 | ABC-A-C |
210 | 'a+b+c'i | AABBABC | y | $& | ABC |
211 | 'a{1 | }b{1 | }c'i | AABBABC | y | $& | ABC |
212 | 'a**'i | - | c | - | - |
213 | 'a*?'i | - | c | - | - |
214 | '(a*)*'i | - | c | - | - |
215 | '(a*)+'i | - | c | - | - |
216 | '(a|)*'i | - | c | - | - |
217 | '(a*|b)*'i | - | c | - | - |
218 | '(a+|b)*'i | AB | y | $&-$1 | AB-B |
219 | '(a+|b){0 | }'i | AB | y | $&-$1 | AB-B |
220 | '(a+|b)+'i | AB | y | $&-$1 | AB-B |
221 | '(a+|b){1 | }'i | AB | y | $&-$1 | AB-B |
222 | '(a+|b)?'i | AB | y | $&-$1 | A-A |
223 | '(a+|b){0 | 1}'i | AB | y | $&-$1 | A-A |
224 | '(^)*'i | - | c | - | - |
225 | '(ab|)*'i | - | c | - | - |
226 | ')('i | - | c | - | - |
227 | '[^ab]*'i | CDE | y | $& | CDE |
228 | 'abc'i | | n | - | - |
229 | 'a*'i | | y | $& | |
230 | '([abc])*d'i | ABBBCD | y | $&-$1 | ABBBCD-C |
231 | '([abc])*bcd'i | ABCD | y | $&-$1 | ABCD-A |
232 | 'a|b|c|d|e'i | E | y | $& | E |
233 | '(a|b|c|d|e)f'i | EF | y | $&-$1 | EF-E |
234 | '((a*|b))*'i | - | c | - | - |
235 | 'abcd*efg'i | ABCDEFG | y | $& | ABCDEFG |
236 | 'ab*'i | XABYABBBZ | y | $& | AB |
237 | 'ab*'i | XAYABBBZ | y | $& | A |
238 | '(ab|cd)e'i | ABCDE | y | $&-$1 | CDE-CD |
239 | '[abhgefdc]ij'i | HIJ | y | $& | HIJ |
240 | '^(ab|cd)e'i | ABCDE | n | x$1y | XY |
241 | '(abc|)ef'i | ABCDEF | y | $&-$1 | EF- |
242 | '(a|b)c*d'i | ABCD | y | $&-$1 | BCD-B |
243 | '(ab|ab*)bc'i | ABC | y | $&-$1 | ABC-A |
244 | 'a([bc]*)c*'i | ABC | y | $&-$1 | ABC-BC |
245 | 'a([bc]*)(c*d)'i | ABCD | y | $&-$1-$2 | ABCD-BC-D |
246 | 'a([bc]+)(c*d)'i | ABCD | y | $&-$1-$2 | ABCD-BC-D |
247 | 'a([bc]*)(c+d)'i | ABCD | y | $&-$1-$2 | ABCD-B-CD |
248 | 'a[bcd]*dcdcde'i | ADCDCDE | y | $& | ADCDCDE |
249 | 'a[bcd]+dcdcde'i | ADCDCDE | n | - | - |
250 | '(ab|a)b*c'i | ABC | y | $&-$1 | ABC-AB |
251 | '((a)(b)c)(d)'i | ABCD | y | $1-$2-$3-$4 | ABC-A-B-D |
252 | '[a-zA-Z_][a-zA-Z0-9_]*'i | ALPHA | y | $& | ALPHA |
253 | '^a(bc+|b[eh])g|.h$'i | ABH | y | $&-$1 | BH- |
254 | '(bc+d$|ef*g.|h?i(j|k))'i | EFFGZ | y | $&-$1-$2 | EFFGZ-EFFGZ- |
255 | '(bc+d$|ef*g.|h?i(j|k))'i | IJ | y | $&-$1-$2 | IJ-IJ-J |
256 | '(bc+d$|ef*g.|h?i(j|k))'i | EFFG | n | - | - |
257 | '(bc+d$|ef*g.|h?i(j|k))'i | BCDD | n | - | - |
258 | '(bc+d$|ef*g.|h?i(j|k))'i | REFFGZ | y | $&-$1-$2 | EFFGZ-EFFGZ- |
259 | '((((((((((a))))))))))'i | A | y | $10 | A |
260 | '((((((((((a))))))))))\10'i | AA | y | $& | AA |
261 | '((((((((((a))))))))))\41'i | AA | n | - | - |
262 | '((((((((((a))))))))))\41'i | A! | y | $& | A! |
263 | '(((((((((a)))))))))'i | A | y | $& | A |
264 | 'multiple words of text'i | UH-UH | n | - | - |
265 | 'multiple words'i | MULTIPLE WORDS | YEAH | y | $& | MULTIPLE WORDS |
266 | '(.*)c(.*)'i | ABCDE | y | $&-$1-$2 | ABCDE-AB-DE |
267 | '\((.*) | (.*)\)'i | (A | B) | y | ($2 | $1) | (B | A) |
268 | '[k]'i | AB | n | - | - |
269 | 'abcd'i | ABCD | y | $&-\$&-\\$& | ABCD-$&-\ABCD |
270 | 'a(bc)d'i | ABCD | y | $1-\$1-\\$1 | BC-$1-\BC |
271 | 'a[-]?c'i | AC | y | $& | AC |
272 | '(abc)\1'i | ABCABC | y | $1 | ABC |
273 | '([a-c]*)\1'i | ABCABC | y | $1 | ABC
|